Previous Book Contents Book Index Next

Inside Macintosh: Programming With MRJToolkit /
Chapter 2 - MRJToolkit Reference / The MRJApplicationUtils Class
Methods /


registerPrintDocumentHandler

Registers the handler method to be called when the user requests that a document be printed from the Finder.

public static final void registerPrintDocumentHandler (
                     MRJPrintDocumentHandler handler);
handler
The name of the method that handles the print request.
DISCUSSION
You may not be able to fully implement a print handler method due to lack of printing support in JDK 1.0.2 or earlier. You must have defined the handler method before calling this method.

SEE ALSO
The myHandlePrintFile method (page 49).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
12 NOV 1997